package com.gitee.wsl.doc.prosemirror.state.bookmark

import com.gitee.wsl.doc.prosemirror.model.node.Node
import com.gitee.wsl.doc.prosemirror.state.selection.AllSelection
import com.gitee.wsl.doc.prosemirror.transform.map.Mappable

object AllBookmark : SelectionBookmark {
    override fun map(mapping: Mappable) = this

    override fun resolve(doc: Node) = AllSelection(doc)
}